home *** CD-ROM | disk | FTP | other *** search
/ Journey to the Planets (Wayzata) / Journey to the Planets (Wayzata Technology) (1994).iso / pc / pluto / pluto.hc / stack_-1.xml < prev    next >
Extensible Markup Language  |  1994-12-16  |  4KB  |  28 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
  3. <stack>
  4.     <name>in.hc</name>
  5.     <id>-1</id>
  6.     <cardCount>9</cardCount>
  7.     <cardID>2999</cardID>
  8.     <listID>5743</listID>
  9.     <cantModify><false /></cantModify>
  10.     <cantDelete><false /></cantDelete>
  11.     <cantAbort><false /></cantAbort>
  12.     <cardSize>
  13.         <width>640</width>
  14.         <height>480</height>
  15.     </cardSize>
  16.     <script>--------------------------------------------------------------------------------------------------------Multicom Publishing Inc.┬«----------------------------------------------------------------------------------------------------------------------------------System Handlers:-----------------------------on openStackhide menuBarhide titleBarset the userlevel to 5colorizeHCinitGlobalsopenPictureresetSystemPaletteloadPaletteloadTxtplutoSndend openStackon resetSystemPaletteset cursor to busypicture "SYSTEM_COLORS",resource,rect,false,8set the rect of window "SYSTEM_COLORS" to "639,479,640,480"show window "SYSTEM_COLORS" -- show is needed to reset palette!close window "SYSTEM_COLORS"noPaintWhiteif there is a window "black" then ┬¼close window "black"end resetSystemPaletteon closeStackspinCursornoPaintWhiteif there is a window "pluMenu" then ┬¼close window "pluMenu"end closeStackon openPicture winName -- handle openPicture sent by Picture XCMDglobal gCurrWindowif winName <> "SYSTEM_COLORS" thenput winName into gCurrWindowend ifend openPictureon colorizeHCglobal gOKToColorizeif (gOKToColorize is empty) then pass colorizeHCend colorizeHCon initGlobalsglobal gGlobalsOKif gGlobalsOK is true then exit initGlobalsif LastHilites = "" then put "0,0,0,0,0,0,0" &return &"0"&return&"1" into LastHilitesput true into gGlobalsOKend initGlobals--------------------------Navigational Handlers---------------------------on loadPalettenoPaintWhitepalette "pluMenu", "0,417"  --opens navigational paletteif there is a window "runMenu" then ┬¼close window "runMenu"end loadPaletteon prepWinpicture "black",resource,rect,false,8     --draws a black screen before showing thumbnailset rect of window "black" to "0,0,640,480"noPaintWhiteshow window "black"end prepWinon quitdoMenu "Quit HyperCard"end quiton goNextlock Screengo nextunlock Screenend goNexton goPrevlock Screengo previousunlock Screenend goPrevon goBacklock Screengo to card "Main Menu"  --takes you to this stack main menuunlock Screenend goBackon goEventplay "mouseClick"lock screengo to cd "MAIN MENU"unlock screenend goEventon goSolarlock screengo stack "HOME"unlock screenend goSolaron loadTxtglobal marker, printFieldput "PLANETS:PLUTO:PLUTO.TXT" into markerput "PLUTO" into printFieldend loadTxt---------------------------Check Environment Handlers----------------------on cHCinstall-- Check for correct environmentset cursor to busy--if checkEnviron() is not "OK" thengo HomegetHomeInfoexit to HyperCardend ifset cursor to busy--repeat until the lockScreen is falseunlock screenend repeat--end cHCinstallon plutoSndglobal switchif switch > 0  thenexit plutoSndend ifQTMovie OpenMovie,Plain,"PLANETS:AUDIO:PLUTO211KHz Movie", "1005,1005",┬¼nocontroller,dontPaintWhite,closeOnFinishset the visible of window "PLUTO211KHz Movie" to falseend plutoSnd</script>
  17.     <background id="2813" file="background_2813.xml" name="MARSMAIN.BKGRND" />
  18.     <card id="2999" file="card_2999.xml" marked="false" name="MAIN MENU" owner="2813" />
  19.     <card id="4870" file="card_4870.xml" marked="false" name="D1" owner="2813" />
  20.     <card id="4117" file="card_4117.xml" marked="false" name="D2" owner="2813" />
  21.     <card id="4397" file="card_4397.xml" marked="false" name="D3" owner="2813" />
  22.     <card id="5175" file="card_5175.xml" marked="false" name="D4" owner="2813" />
  23.     <card id="2403" file="card_2403.xml" marked="false" name="D5" owner="2813" />
  24.     <card id="5625" file="card_5625.xml" marked="false" name="D6" owner="2813" />
  25.     <card id="4846" file="card_4846.xml" marked="false" name="E1" owner="2813" />
  26.     <card id="2255" file="card_2255.xml" marked="false" name="M1" owner="2813" />
  27. </stack>
  28.